//
//  ZGShoppingCarController.m
//  NewBee
//
//  Created by leergou on 16/8/20.
//  Copyright © 2016年 WhiteHouse. All rights reserved.
//

#import "ZGShoppingCarController.h"

@interface ZGShoppingCarController ()

@end

@implementation ZGShoppingCarController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.view.backgroundColor = RANDOMCOLOR;
    
    self.navigationItem.title = @"购物车";
    [self.navigationController.navigationBar setTintColor:[UIColor grayColor]];

    self.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc] initWithImage:[[UIImage imageNamed:@"v2_goback"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal] style:UIBarButtonItemStylePlain target:self action:@selector(backButtonClick:)];
}

#pragma mark - 按钮点击 -
- (void)backButtonClick:(UIButton *)sender{
    [self.navigationController dismissViewControllerAnimated:YES completion:nil];
}


@end
